package com.eunion.fileserver.upload;

import java.util.List;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

/**
 * Json返回.
 * 
 * @version 2015-9-11
 */
public class JsonFileVo {

	private boolean flag;

	private String msg;

	private String pathUrl;

	private String path;

	private String nameOrg;

	private String nameNew;

	private Long size;

	private List<?> datas;

	public JsonFileVo() {
		super();
	}

	public JsonFileVo(boolean flag) {
		super();
		this.flag = flag;
	}

	public JsonFileVo(boolean flag, String msg) {
		super();
		this.flag = flag;
		this.msg = msg;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public List<?> getDatas() {
		return datas;
	}

	public void setDatas(List<?> datas) {
		this.datas = datas;
	}

	public String getPathUrl() {
		return pathUrl;
	}

	public void setPathUrl(String pathUrl) {
		this.pathUrl = pathUrl;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getNameOrg() {
		return nameOrg;
	}

	public void setNameOrg(String nameOrg) {
		this.nameOrg = nameOrg;
	}

	public String getNameNew() {
		return nameNew;
	}

	public void setNameNew(String nameNew) {
		this.nameNew = nameNew;
	}

	public Long getSize() {
		return size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}
